package com.example.music.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;


@Data
public class Lyrics extends BaseRowModel {

    @ColumnWidth(value =30)
    @ExcelProperty(index = 0, value = "歌词时间（上传格式00:00）")
    private String lyricDate;//歌词时间

    @ColumnWidth(value =50)
    @ExcelProperty(index = 1, value = "歌词")
    private String lyric;//歌词

    @ExcelIgnore
    private Integer songId;//歌曲编号
}
